package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_member_rentcode")
@ApiModel(value = "XhMemberRentcode对象", description = "")
public class XhMemberRentcode implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer memberId;

    @ApiModelProperty("手机号")
    private String memberMobile;

    @ApiModelProperty("租赁码")
    private String rentCode;

    @ApiModelProperty("租赁时长(天)")
    private String rentMonths;

    @ApiModelProperty("租赁码状态 0：未使用，1：已使用   2:已停用")
    private Integer status;

    @ApiModelProperty("生效时间")
    private String effectDate;

    @ApiModelProperty("失效时间")
    private String expireDate;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

    @ApiModelProperty("电池规格id")
    private Integer batteryInfoId;

}
